<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="styles/style.css">
        <link rel="stylesheet" href="styles/theme/atom-one-dark.css">
        <title>例子24-ES6/7常用语法介绍</title>
    </head>

    <body>
        <pre>
            <code>
                // 例子24

                Array(); // []
                Array(3); // [, , ,]
                Array(3, 11, 8); // [3, 11, 8]

                Array.of(); // []
                Array.of(3); // [3]
                Array.of(3, 11, 8);	// [3, 11, 8]
            </code>
        </pre>
        <script src="scripts/libs/highlight.pack.js"></script>
        <script src="scripts/24.js"></script>
        <script>
            hljs.initHighlightingOnLoad();
        </script>
    </body>

</html>